﻿<%@ Page Title="Consultant" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Consultant.aspx.cs" Inherits="SquidConsult.UI.Consultant._default" %>
<%@ Register src="../Controls/RolesForUser.ascx" tagname="RolesForUser" tagprefix="ctl" %>

<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>

<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
    <style type="text/css">

        .style10
        {
            width: 142px;
            height: 85px;
        }
        .style3
        {
            width: 659px;
            font-size: x-large;
            text-align: center;
            height: 85px;
        }
        .style11
        {
            height: 85px;
        }
        .style7
        {
            width: 142px;
            height: 229px;
        }
        .style8
        {
            width: 659px;
            height: 229px;
        }
        .style4
        {
            width: 110px;
        }
        .style5
        {
            width: 110px;
            font-size: medium;
        }
        .style6
        {
            font-size: medium;
        }
        .style9
        {
            height: 229px;
        }
        .style1
        {
            width: 142px;
            height: 281px;
        }
        .style2
        {
            width: 659px;
            height: 281px;
        }
        .style12
        {
            height: 281px;
        }
        .style13
    {
        width: 110px;
        font-size: large;
    }
        .style14
        {
        }
        .style15
        {
            width: 110px;
            font-size: medium;
            height: 59px;
        }
        .style16
        {
            width: 623px;
            height: 59px;
        }
        .style17
        {
            height: 59px;
        }
        .style18
        {
            width: 623px;
        }
        .style19
        {
            width: 110px;
            font-size: medium;
            height: 27px;
        }
        .style20
        {
            width: 623px;
            height: 27px;
        }
        .style21
        {
            height: 27px;
        }
        </style>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <h1>Consultant Page</h1>
  <table style="width:100%; height: 533px;">
      <tr>
          <td class="style10">
          </td>
          <td class="style3">
              New Expense Report
              </td>
          <td class="style11">
          </td>
      </tr>
      <tr>
          <td class="style7">
          </td>
          <td class="style8">
              <table style="width:100%;">
                  <tr>
                      <td class="style13">
                          <strong>Expense:</strong></td>
                      <td class="style18">
                          &nbsp;</td>
                      <td rowspan="6">
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td class="style5">
                          Date:
                      </td>
                      <td class="style18">
                          <asp:TextBox ID="DateTextBox" runat="server" ></asp:TextBox>
                          <asp:CalendarExtender ID="CalendarExtender" runat="server" format="dd/MM/yyyy" TargetControlID = "DateTextBox">
                          </asp:CalendarExtender>
                          <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                          </asp:ToolkitScriptManager>
                      </td>
                  </tr>
                  <tr>
                      <td class="style5">
                          Location:
                      </td>
                      <td class="style18">
                          <asp:TextBox ID="LocationTextBox" runat="server" Font-Size="Medium" 
                               Width="350px"></asp:TextBox>
                      </td>
                  </tr>
                  <tr>
                      <td class="style5">
                          Description:</td>
                      <td class="style18">
                          <asp:TextBox ID="DescTextBox" runat="server" Font-Size="Medium" 
                             Width="350px" Font-Names="Arial" 
                              Height="24px" TextMode="MultiLine"></asp:TextBox>
                      </td>
                  </tr>
                  <tr>
                      <td class="style5">
                          Amount:</td>
                      <td class="style18">
                          <asp:TextBox ID="AmountTextBox" runat="server" Font-Size="Medium" 
                              ontextchanged="AmountTextBox_TextChanged" autopostback="true" 
                              style="height: 24px"></asp:TextBox>
                          <asp:DropDownList ID="CurrencyDropDownList" runat="server" Font-Size="Medium" 
                              onselectedindexchanged="CurrencyDropDownList_SelectedIndexChanged" 
                              style="margin-left: 7px" AutoPostBack="True">
                              <asp:ListItem>AUD</asp:ListItem>
                              <asp:ListItem>CNY</asp:ListItem>
                              <asp:ListItem>USD</asp:ListItem>
                          </asp:DropDownList>
                          <asp:Label ID="ErrorLabel" runat="server" ForeColor="Red"></asp:Label>
                      </td>
                  </tr>
                  <tr>
                      <td class="style5">
                          &nbsp;</td>
                      <td class="style18">
                          <span class="style6">AUD: </span>
                          <asp:Label ID="CurrencyLabel" runat="server" Font-Size="Medium"></asp:Label>
                      </td>
                  </tr>
                  <tr>
                      <td class="style19">
                          Receipt:</td>
                      <td class="style20">
                          <asp:FileUpload ID="ReceiptFileUpload" runat="server" Font-Size="Medium"/>
                      </td>
                      <td class="style21">
                          </td>
                  </tr>
                  <tr>
                      <td class="style4">
                          &nbsp;</td>
                      <td class="style18">
                          <asp:RegularExpressionValidator ID="RegVal" runat="server" 
                              ControlToValidate="ReceiptFileUpload" ErrorMessage="Please select a .pdf file" 
                              ValidationExpression="^([a-zA-Z].*|[1-9].*)\.(((p|P)(d|D)(f|F)))$" 
                              Font-Size="Small" ForeColor="Red"></asp:RegularExpressionValidator>
                      </td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td class="style4">
                          &nbsp;</td>
                      <td class="style14" colspan="2">
                          <asp:Button ID="AddButton" runat="server" Font-Size="Medium" Height="35px" 
                              onclick="AddButton_Click" Text="Add" Width="68px" OnClientClick = "return confirm('Are you sure to add?');"/>
                          <asp:Label ID="MessageLabel" runat="server" Font-Bold="False" 
                              Font-Size="Medium" ForeColor="Black"></asp:Label>
                      </td>
                  </tr>
                  <tr>
                      <td class="style13">
                          <strong>Report:</strong></td>
                      <td class="style18">
                          &nbsp;</td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td class="style15">
                          Supervisor:</td>
                      <td class="style16">
                          <asp:DropDownList ID="SupDropDownList" runat="server">
                          </asp:DropDownList>
                      </td>
                      <td class="style17">
                          </td>
                  </tr>
                  <tr>
                      <td class="style5">
                          &nbsp;</td>
                      <td class="style18">
                          <asp:Button ID="SubmitButton" runat="server" Font-Size="Medium" Height="35px" 
                              onclick="SubmitButton_Click" Text="Submit" Width="74px" OnClientClick = "return confirm('Are you sure to submit?');"/>
                          <asp:Label ID="SubmitLabel" runat="server" Font-Size="Medium" 
                              style="color: #000000"></asp:Label>
                      </td>
                      <td>
                          &nbsp;</td>
                  </tr>
                  <tr>
                      <td class="style4">
                          &nbsp;</td>
                      <td class="style14" colspan="2">
                          &nbsp;</td>
                  </tr>
              </table>
          </td>
          <td class="style9">
              &nbsp;</td>
      </tr>
      <tr>
          <td class="style1">
              </td>
          <td class="style2">
              &nbsp;</td>
          <td class="style12">
              </td>
      </tr>
</table>
</asp:Content>
